package com.lanhai.web;

import java.util.List;

import com.lanhai.GlobalService;
import com.lanhai.util.DataPageSupport;

@SuppressWarnings("unchecked")
public class InfoAction extends DataPageSupport {

	private static final long serialVersionUID = -2999533470387576746L;

	@Override
	public List pageQueryList() {
		this.setAllPageSize(GlobalService.getSinfoService().getInfoSize());
		return GlobalService.getSinfoService().getInfo(this.getPageSize(),
				this.getPageSize() * this.getCurrPage());
	}
	
	@Override
	public String execute() throws Exception {
		return this.doGoPage();
	}

}
